import { axios } from '@/utils/request'

/**
 * 查询用户表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserPage (parameter) {
  return axios({
    url: '/appUser/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 用户表列表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserList (parameter) {
  return axios({
    url: '/appUser/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加用户表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserAdd (parameter) {
  return axios({
    url: '/appUser/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑用户表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserEdit (parameter) {
  return axios({
    url: '/appUser/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除用户表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserDelete (parameter) {
  return axios({
    url: '/appUser/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出用户表
 *
 * @author gyp
 * @date 2023-07-28 08:49:24
 */
export function appUserExport (parameter) {
  return axios({
    url: '/appUser/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
